import Layout from "@/layout/index.vue";

export default [
  {
    path: '/shop/hotel-add',
    component: Layout,
    hidden: true,
    permissions: ['shop:hotel:edit'],
    children: [
      {
        path: 'index',
        component: () => import('@/views/shop/hotel/hotelAdd'),
        name: 'HotelAdd',
        meta: { title: '酒店编辑', activeMenu: '/shop/hotel/hotel' }
      }
    ]
  },
  {
    path: '/shop/hotel-room-add',
    component: Layout,
    hidden: true,
    permissions: ['shop:hotelRoom:edit'],
    children: [
      {
        path: 'index',
        component: () => import('@/views/shop/hotel/room/roomAdd'),
        name: 'HotelAdd',
        meta: { title: '酒店房间编辑', activeMenu: '/shop/hotel/hotel' }
      }
    ]
  },
  {
    path: '/shop/hotel/room/type',
    component: Layout,
    hidden: true,
    permissions: ['shop:hotel:edit'],
    children: [
      {
        path: 'index/:hotelId(\\d+)',
        component: () => import('@/views/shop/hotel/roomType/index'),
        name: 'RoomType',
        meta: { title: '酒店房间类型编辑', activeMenu: '/shop/hotel/hotel' }
      }
    ]
  },
]
